package com.bdzl.common.bean;

import org.springframework.stereotype.Service;

@Service
public class BaseResponse {
	protected Integer stateCode; // 标识
	protected String stateMessage; // 消息
	protected Object data; // 具体对象

	public Integer getStateCode() {
		return stateCode;
	}

	public void setStateCode(Integer stateCode) {
		this.stateCode = stateCode;
	}

	public String getStateMessage() {
		return stateMessage;
	}

	public void setStateMessage(String stateMessage) {
		this.stateMessage = stateMessage;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "BaseResponse [stateCode=" + stateCode + ", stateMessage=" + stateMessage + ", data=" + data + "]";
	}

}